package com.wpen.unit.infra.mybatis.job.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * JobUndoPlanPo.
 * 
 * @author Wang Peng(Auto Generator)
 * @date 2023-03-19
 * @version V5.0
 */
@Setter
@Getter
@ToString
@TableName("UNIT_JOB_UNDO_PLAN")
public class JobUndoPlanPo implements Cloneable, Serializable {
    private static final long serialVersionUID = -161123581321345589L;
    /* 主键(同主表) [19,0] Not NULL */
    @TableId
    private Long id;
    /* 应用模式 [1,0] Not NULL */
    private String appMode;
    /* 应用名称 [256,0] Not NULL */
    private String appJarName;
    /* 任务触发时间 [19,0] Not NULL */
    private Long jobTriggerTime;
    /* 执行状态 [1,0] Not NULL */
    private String execStatus;
    /* 创建时间 [19,0] Not NULL */
    private Date createTime;
    /* 更新时间戳 [19,0] Not NULL */
    private Timestamp updateTime;

    public JobUndoPlanPo() {
        super();
    }

    /** 浅克隆 */
    @Override
    public JobUndoPlanPo clone() {
        JobUndoPlanPo cloneJobUndoPlanPo = null;
        try {
            cloneJobUndoPlanPo = (JobUndoPlanPo) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
        return cloneJobUndoPlanPo;
    }

    /**
     * JobUndoPlanColumns.
     * 
     * @author Wang Peng(Auto Generator)
     * @date 2023-03-19
     * @version V5.0
     */
    public enum JobUndoPlanColumns {
        /** 主键(同主表)**/
        ID,
        /** 应用模式**/
        APP_MODE,
        /** 应用名称**/
        APP_JAR_NAME,
        /** 任务触发时间**/
        JOB_TRIGGER_TIME,
        /** 执行状态**/
        EXEC_STATUS,
        /** 创建时间**/
        CREATE_TIME,
        /** 更新时间戳**/
        UPDATE_TIME;
    }
}